@echo off

Call ret.bat

if %errorlevel% gtr 0 exit 
echo “Successful completion”